package toolPackage;


import java.util.Arrays;

public class tool {
    public static int[] random0To100(int number){
        int[] Int=new int[number];
        for (int i=0;i<Int.length;i++){
            Int[i]=(int)(Math.random()*101);
        }
        System.out.println(Arrays.toString(Int));
        return Int;
    }
    public static int random0To100() {
        return (int)(Math.random()*101);
    }

    public static int[] random0To10(int number){
        int[] Int=new int[number];
        for (int i=0;i<Int.length;i++){
            Int[i]=(int)(Math.random()*11);
        }
        System.out.println(Arrays.toString(Int));
        return Int;
    }
    public static int random0To10() {
        return (int)(Math.random()*11);
    }
}
